package com.whmall.service.crm.entity.dto.customerpool;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CustomerPoolExportFollowReqDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long traderId;

    /** （前端不传） */
    private String traderDepartmentPathPrefixLike;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeGte;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeLte;

    /** 登录用户ID（前端不传） */
    private Long employeeId;

}
